package com.life.ai.server.modules.system.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.life.ai.server.modules.system.entity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Set;

/**
 * SysUserInfoVO
 *
 * @author kylewka
 * @since 2024/6/12
 */
@Getter
@Setter
@Accessors(chain = true)
@JsonIgnoreProperties({"salt", "password"})
public class SysUserInfoVO {

    @ApiModelProperty("用户信息")
    private SysUser user;

    @ApiModelProperty("角色列表")
    private Set<String> roles;

    @ApiModelProperty("权限列表")
    private Set<String> permissions;
}
